﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;

namespace S.RBAC.Domain.Model
{
    /// <summary>
    /// 操作表
    /// </summary>
    [Table("Operation")]
    public class Operation
    {
        /// <summary>
        /// 操作Id
        /// </summary>
        [Key]
        public int OperationId { get; set; }

        /// <summary>
        /// 操作名称
        /// </summary>
        [MaxLength(20)]
        public string? OperationName { get; set; }
    }
}
